File service is a collection of useful file related function.
In a controller the file will need importing:
In a view it's already included in app/Config/App.php
Determine is the file path exists.
Gets the content of a file
Get the returned value of a file.
Require the given file once.
File::put($path, $contents, $lock = false)
Write the contents of a file.
Append data to a file.
Delete the file at a given path.
Move a file to a new location.