When file doesn't exist, file_size() method will block program.
When file doesn't exist, file_size() method will block program.