Compiling all files in a folder dynamically