Adding in functionality for deleting old files