Update FileLocator

changed require statement to lcm=require statement
added lcm. to all the commands from api