- more fixes about custom file operations