add file operation for video