auto detect files to compile