changed default return for image_path and file_path