Cleaning up File, Also updated so that if length of collection is 0 but returned it times out sooner

Used the Intial callback (lines 55-65) to set the timeout to 0 if there
isn't anything in the collection.