Calculate file size on artifact change