Add loading from file with filtering