now correctly creates bias and science directories, can read non-gzipped files