TCFileManager add isFile Method and tests