added uuids to input files also and put all tmp files in a tmp dir