add file operation prototype