using File.glob for the dir loader