Added the remove file and exists functions