added checking for malformed las filenames