Import file functions.R

Yhis file was developped between April and October 2014