/*-------------------------------------------------------------------
Returns a boolean indicating if a file is empty (true) or not (false)
-------------------------------------------------------------------*/
bool FileIsEmpty(string Filepath)
{
struct stat buffer;
stat(Filepath.c_str(), &buffer);
return (buffer.st_size == 0);
}