How secure is this simple login?

Im making a simple login for a small text cms that uses php file handling.

Currently Im storing the password and username dieectly in the php file, since Im only using xmlf files I dont see a need for a database.

$correctUser = 'test';
$correctPass = md5('test');

Would it be much safer to store the passwod in a database?