Modified file-functions to work just like in PHP to be compatible with PHP-code.
Modified file-functions to work just like in PHP to be compatible with PHP-code.

kaspernj/knjrbfw,kaspernj/knjrbfw,kaspernj/knjrbfw,kaspernj/knjrbfw