parses data filename (works for now)