# File lib/aeolus_image/model/warehouse/warehouse_model.rb, line 153 def is_file?(path) full_path = File.expand_path(path) if File.exist?(full_path) && !File.directory?(full_path) return true end false end