This function accepts two arguments, the first is the file path, and the second is a size limit (in bytes). The function checks if the file size exceeds the given limit.