Added file exists check to clean function and removed un-needed push call in peek function.