Made creation of the file tree continue if one file fails(for I/O
errors)