test file operation