Added multiple file and time functionality. Not quite working yet.