moved methods down from FileInfo