moved getUsedFileId to extra class \FileUsage see #1