Generating source file at compile, but unable to access it.