According to TechNet, FILEPROPERTY
"returns the specified file name property value when a file name in the current database and a property name are specified. Returns NULL for files that are not in the current database."
http://technet.microsoft.com/en-us/library/ms188401%28v=sql.105%29.aspx