Fix filecontent attempt to read directory  #106