"and is on my main directory."
you mean your documentroot, which is NOT the same as your filesystem's root.
PHP reads filepaths relative to the filesystem's root, NOT your webserver's document root.
Your usernames directory is something like:
/data/webserver/htdocs/usernames
and PHP expects
/usernames
A forum, a FAQ, what else do you need?