Made split_filename less restrictive.