findImports should always use initial importDir list.
Also write file list when building stylesheet.
Added filelist method.