conditionally import dependent files