Checks if the giving File exists, and returns its length