Implement the subset of the functionality to be usable to check if the file exists or not and check the size of the file.
New functions added in ef44b763d9 for the airplane-mode
ef44b763d9