DI: compile-time check if provided assets exist

If relative path for file is provided, try to prefix it with %sourceDir%