process with file