Only build files if the source file exists