Class methods which make dealing with files on iOS easier.