renamed objectAsString to file