adding processFile