Create UserControlFileWriter.php

It accepts the username parameter to set the key of $_SESSION from which get the username.