updated fnamebase to default to files in the same directory