files: fix passing nullptr to std::ifstream

Should just pass nothing instead. Passing a nullptr causes an error
according to Valgrind:

Syscall param open(filename) points to unaddressable byte(s)