Wrote specs for model and made sure that a file exists before creating a checksum