Adding limited version of processFile method