While the system is on, files are in use even if you are not doing anything. Simply turning the power off with the power switch can cause serious file system damage.
Do not turn off your computer with that physical power button. That is only a power-on button. It is very important that you shut down your system properly.