Removed code to deal with directories

We don't have directories anymore
Added last modified functionality