Add check file/storage method.