use file resource to copy database.yml