compose file path properly