Script used to separate the files