first version of process files