modify cat lines and update parser to move files