Add file with method vs block