Wasn't returning the files to the stream. Didn't really understand how streams worked :\ sorry to anyone who lost time due to this