File can be undef

fixes #4