Add FileAttachable interface and imporve FileManaged for using the interface.