Use os.path to get file