removed slash for non directory, added utf8 support
refactoring
new option function
reading file contents
reading content on subdirectories