added parsing of incoming file, debug in process