Update file.php

Fix bug that show random. Issue 23
Merge pull request #7 from fpcorso/bugfix_issue23

Update file.php