Fix in fromFile() method

Method was trying to put file from non-existing object.
Merge pull request #20 from radmen/patch-1

Fix in Database\Attach\File::fromFile() method
Allow update scripts that do not contain a class definition
Fixes #14 - enforce disk name to use lower case extension