File handling for process scheduler implemented