restruct source file information for parsing