Modify source file construction