function to delete current buffer file
add midnight mode to clean up unused buffers after 7 days