Implement qunatity for files and file systems.