hotfix: hidden files must be treated separately
add uid, add .a files for the compiler, treat hidden files correctly