mention that the file method can return undef