Add directSourceFile option