adding html and date format stuff
remove swap file