Tweak behavior to check current file against max size limit, implement later