file reading moved to threads
renamed shell scripts