Cache a given file for further use (by storing them on disk)

def cache_file(file_name):
	"""
	Cache a given file for further use (by storing them on disk)
	"""

	remote_file_path = join(join(expanduser('~'), OCTOGRID_DIRECTORY), file_name)

	try:
		copyfile(file_name, remote_file_path)
	except Exception, e:
		raise e