Loading env and file modules in a jsm compatible way