How to Move File from current folder in use to InProcess folder and once file is processed without error, move to Process folder and if error then move to Error Folder.
With tFileCopy component you can move to a directory inProgress.
Process the file in a subjob , if the Sub job errors moved to error folder.
In your job you need to control the move between folders & error handling
Another approach is to use a ESB Mediation Route component cFile with options preMove, move & moveFailed