Added check for files bigger than 4GB