Finished version

Working signal handling. Prints out the files and creates new ones every
time. Perfecto!