Fixed FileSystem detection