saves all-text
checks for dir and filename
handling dir sector for root dir read