clean up files if exited with error
added read_length map, and two sequence files for testing purposes