using strict type check for file_get_contents as empty file is interpreted as false