working subprocess and preparation for moving files