Modern objc syntax

* Migrates to modern objc syntax
* Using `fileAttributes.filesize` instead of `[fileAttributes[NSFileSize] unsignedLongLongValue]`