GetFileName method error fixed.