Optimised filesize helper function