Added some heuristics to identify file path for resources
based on custom EFS implementation.